home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / pro_bat.zip / CUSTMENU.BAT < prev    next >
DOS Batch File  |  1989-04-16  |  2KB  |  79 lines

  1. echo off
  2. Cursor 20 1
  3.  
  4. REM The above line inverts the cursor - turning it off.
  5.  
  6. PBShow 0 Example.scr
  7.  
  8. REM The above line displays a screen message.
  9.  
  10. goto %1
  11.  
  12. :1
  13.  
  14.    REM You would place all of the necessary lines to access your WP here.
  15.  
  16.    Place Black Green 27 12 "Word Processing"
  17.    Wait 2000
  18.  
  19.    REM The above lines makes the computer display a message applicable
  20.    REM to the menu choice and then wait for 2000 milliseconds.
  21.  
  22.    goto DONE
  23.  
  24. :2
  25.   REM Lines concerning Choice #2 go here.
  26.  
  27.   Place Black Green 27 12 "Data Base"
  28.   Wait 2000
  29.  
  30.   REM The above lines makes the computer display a message applicable
  31.   REM to the menu choice and then wait for 2000 milliseconds.
  32.  
  33.   goto DONE
  34.  
  35. :3
  36.   REM Lines concerning Choice #3 go here.
  37.  
  38.   Place Black Green 27 12 "Spread Sheet"
  39.   Wait 2000
  40.  
  41.   REM The above lines makes the computer display a message applicable
  42.   REM to the menu choice and then wait for 2000 milliseconds.
  43.  
  44.   goto DONE
  45.  
  46. :4
  47.   REM Lines Concerning Choice #4 go here.
  48.  
  49.   Place Black Green 27 12 "Graphics"
  50.   Wait 2000
  51.  
  52.   REM The above lines makes the computer display a message applicable
  53.   REM to the menu choice and then wait for 2000 milliseconds.
  54.  
  55.   goto DONE
  56.  
  57. :5
  58.   REM Lines Concerning Choice #5 go here.
  59.  
  60.   Place Black Green 27 12 "Utilities"
  61.   Wait 2000
  62.  
  63.   REM The above lines makes the computer display a message applicable
  64.   REM to the menu choice and then wait for 2000 milliseconds.
  65.  
  66.   goto DONE
  67.  
  68. :DONE
  69.   Cursor 12 13
  70.  
  71.   REM The above line reinstates the cursor.
  72.  
  73.   REM You should have a 'CD' command here. One that will change to the
  74.   REM directory where "PBMenu.EXE" is stored.
  75.  
  76. REM Remember the laws of batch files recquire that you not call another
  77. REM batch file from within one, run-time of the original will terminate
  78. REM on that line.  All batch code must therefore be included withen this
  79. REM batch file.